d2af79af7e108d07806b94644987fa8288205986,core/src/main/java/tachyon/client/TachyonFS.java,TachyonFS,getFileStatus,#number#TachyonURI#boolean#,595

Before Change


    if (fileId != -1) {
      info = mIdToClientFileInfo.get(fileId);
      if (!useCachedMetadata || info == null) {
        info = mMasterClient.getFileStatus(fileId, TachyonURI.EMPTY_URI.getPath());
        updated = true;
      }

After Change


   * @return the ClientFileInfo of the file. null if the file does not exist.
   * @throws IOException
   */
  public synchronized ClientFileInfo getFileStatus(int fileId, TachyonURI path,
      boolean useCachedMetadata) throws IOException {
    if (fileId != -1) {
      return getFileStatus(mIdToClientFileInfo, Integer.valueOf(fileId), fileId,
          TachyonURI.EMPTY_URI.getPath(), useCachedMetadata);
    } else {
      validateUri(path);
      String p = path.getPath();